<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>&nbsp;</title>
<include file="Public/header" />
<script type="text/javascript" src="__PUBLIC__/Js/jquery.validate.js"></script>

</head>


<body>
<div>
   
  
        <div class="list_vmall_man">
        	<div class="list_vmall_le">
            	<include file="./Apps/BoxAdmin/View/Public/adminMenu.html" />
            </div>
            <div class="list_vmall_rig">
            	<ul class="breadcrumb clearfix">
                    <li><a href="<{:U('index')}>">会员管理</a> <span class="divider">/</span></li>
                    <li class="active">导入结果信息</li>
                </ul>
				<style>
				.import{ padding:20px;}
				.import .suc{ color:green}
				.import .fail{ color:red}
				.import p{ line-height:30px;}
				</style>
                <div class="list_vmall_bort import">
                     <p>成功导入<{$sucees}>条信息，失败<{$fail}>条信息&nbsp;&nbsp;(注：如果导入失败请检查卡号是否正确)</p> 
					 <{$msg}>
                </div>
                
            </div>

        </div>
        
</div>
<script type="text/javascript">
    $('#excel').change(function(){
        var excel=$(this).val();
        var ext = excel.split('.')[1];
        if(ext == 'xls' || ext == 'xlsx'){
            
        }else{
            alert('请上传后缀为.xls或者.xlsx的文件');
            return false;
        }
    })
    $('#myform').submit(function(){
    
        var excel=$('#excel').val();
        if(excel==''){
            alert('请上传excel文件');
            return false;
        }
        var ext = excel.split('.')[1];
        if(ext == 'xls' || ext == 'xlsx'){
            
        }else{
            alert('请上传后缀为.xls或者.xlsx的文件');
            return false;
        }

    })
</script>
</body>
</html>
